package com.yanzhen.mapper;

import java.util.List;
import java.util.Map;

import com.yanzhen.entity.Admin;

public interface AdminDao {
    //    新增成功返回值
    public int create(Admin pi);
    //   mybatis中万能的map
    public int delete(Map<String, Object> paramMap);

    public int update(Map<String, Object> paramMap);
    //查询
    public List<Admin> query(Map<String, Object> paramMap);
    //明细
    public Admin detail(Map<String, Object> paramMap);
    //配合去分页
    public int count(Map<String, Object> paramMap);


}